/*
============================================================================
 Name        : sd_timer.h
 Author      : Jian
 Version     :
 Copyright   : GPL
 Description : sd_timer.h - header file
============================================================================
*/

#ifndef SD_TIMER_H
#define SD_TIMER_H

/* INCLUDES */
#include "dd_define.h"

__DD_BEGIN_DECLS

typedef void sd_timer_callback(void* ptr) ;

sd_timer* sd_timer_create() ;

void sd_timer_start(sd_timer* timer, int second, void* ptr, sd_timer_callback* callBack) ;

void sd_timer_stop(sd_timer* timer) ;

void sd_timer_destroy(sd_timer* timer) ;

__DD_END_DECLS

#endif  /* SD_TIMER_H */

/* End of File */
